﻿namespace Sgr.Licence
{
    /// <summary>
    /// 许可证状态枚举
    /// </summary>
    public enum LicenseStatus
    {
        /// <summary>
        /// 未激活
        /// </summary>
        NotActivated = 0,

        /// <summary>
        /// 有效
        /// </summary>
        Valid = 1,

        /// <summary>
        /// 即将到期（警告状态）
        /// </summary>
        NearExpiration = 2,

        /// <summary>
        /// 已过期
        /// </summary>
        Expired = 3,

        /// <summary>
        /// 无效（如许可证被篡改）
        /// </summary>
        Invalid = 4,

        /// <summary>
        /// 超出授权数量
        /// </summary>
        ExceededLicense = 5,

        /// <summary>
        /// 系统时间被篡改
        /// </summary>
        TimeTempered = 6,

        /// <summary>
        /// 硬件信息变更
        /// </summary>
        HardwareChanged = 7
    }
}